package com.daowen.bll;

import com.daowen.dal.DALBase;
import com.daowen.entity.Lanmu;
import com.daowen.entity.Spcategory;


public class SpcategoryTree extends RecursionTree<Spcategory> {

    public SpcategoryTree(){

        setTextfieldname("mingcheng");

    }

    public void toNonLeaf(String id){

        Spcategory m=(Spcategory)DALBase.load("spcategory", "where id="+id);
        if(m!=null)
        {
            // m.setIsleaf(0);
            DALBase.update(m);
        }
    }



}
